Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 19, 2025

The tibdex/github-app-token action has been archived and is no longer maintained. This PR migrates all GitHub workflows to use the official actions/create-github-app-token@v2 action instead.

Changes Made

Updated 3 workflow files to replace the archived action:

  • .github/workflows/addToDocsProject.yml
  • .github/workflows/labeler.yml
  • .github/workflows/addToAPMProject.yml

Migration Details

The following parameter mappings were applied to maintain compatibility:

  • app_idapp-id
  • private_keyprivate-key
  • Permissions JSON object converted to individual permission parameters:
    • "organization_projects": "write"permission-organization-projects: write
    • "issues": "read"permission-issues: read
    • "members": "read"permission-members: read

Before:

uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
with:
  app_id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
  private_key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
  permissions: >-
    {
      "organization_projects": "write",
      "issues": "read"
    }

After:

uses: actions/create-github-app-token@v2
with:
  app-id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
  private-key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}
  permission-organization-projects: write
  permission-issues: read

All workflows maintain their existing functionality while now using the supported, maintained action.

Fixes #704.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@Copilot Copilot AI assigned Copilot and v1v Sep 19, 2025
Copy link
Contributor Author

Copilot AI commented Sep 19, 2025

@v1v 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

@Copilot Copilot AI changed the title [WIP] Replace tibdex/github-app-token with actions/create-github-app-token Replace tibdex/github-app-token with actions/create-github-app-token Sep 19, 2025
@Copilot Copilot AI requested a review from v1v September 19, 2025 15:04
Copilot finished work on behalf of v1v September 19, 2025 15:04
@v1v v1v marked this pull request as ready for review September 22, 2025 11:02
@v1v v1v requested a review from a team as a code owner September 22, 2025 11:02
@v1v v1v requested a review from a team September 22, 2025 11:02
@v1v v1v enabled auto-merge (squash) September 22, 2025 11:02
Copy link
Contributor

@fr4nc1sc0-r4m0n fr4nc1sc0-r4m0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@v1v v1v merged commit 8b1842d into main Sep 22, 2025
17 of 21 checks passed
@v1v v1v deleted the copilot/fix-704 branch September 22, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace tibdex/github-app-token with actions/create-github-app-token
4 participants